package com.itheima.开启多线程.mycallable;

import java.util.concurrent.Callable;

/**
 * @Author 王加鑫
 * @Date 2021/5/22 10:39
 * @Version 1.0
 */
public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 100; i++) {
            System.out.println("跟女孩表白" + i + "次");
        }

        return "答应哦";
    }

}
